try {
	//委外到货
	Type.registerNamespace('SCArriveInVO');
	//委外到货入库VO
	SCArriveInVO = function() {};
	SCArriveInVO.prototype = new NCMMPubUtil.SuperVO();
	//委外到货主键**
	SCArriveInVO.PK_HEAD = {
		name: "pk_head",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//委外单号
	SCArriveInVO.VBILLCODE = {
		name: "vbillcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//单据日期
	SCArriveInVO.DBILLDATE = {
		name: "dbilldate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购部门
	SCArriveInVO.PK_DEPT_NAME = {
		name: "pk_dept_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//委外订单明细**
	SCArriveInVO.PK_ITEM = {
		name: "pk_item",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料
	SCArriveInVO.PK_MATERIAL = {
		name: "pk_material",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	SCArriveInVO.MATERIALCODE = {
		name: "materialcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	SCArriveInVO.MATERIALNAME = {
		name: "materialname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	SCArriveInVO.MATERIALSPEC = {
		name: "materialspec",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	SCArriveInVO.MATERIALTYPE = {
		name: "materialtype",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料简称
	SCArriveInVO.MATERIALSHORTNAME = {
		name: "materialshortname",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可入库主数量
	SCArriveInVO.NNUM = {
		name: "nnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//可入库数量
	SCArriveInVO.NASTNUM = {
		name: "nastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	SCArriveInVO.CUNITID = {
		name: "cunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
	SCArriveInVO.CUNITID_NAME = {
		name: "cunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	SCArriveInVO.CASTUNITID = {
		name: "castunitid",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
	SCArriveInVO.CASTUNITID_NAME = {
		name: "castunitid_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//换算率
	SCArriveInVO.VCHANGERATE = {
		name: "vchangerate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//表头ts
	SCArriveInVO.HTS = {
		name: "hts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//供应商名称
	SCArriveInVO.PK_SUPPLIER_NAME = {
		name: "pk_supplier_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商
	SCArriveInVO.PK_SUPPLIER = {
		name: "pk_supplier",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存组织
	SCArriveInVO.PK_ORG = {
		name: "pk_org",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库**
	SCArriveInVO.PK_RECEIVESTORDOC = {
		name: "pk_receivestordoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//收货仓库名称**
	SCArriveInVO.PK_RECEIVESTORDOC_NAME = {
		name: "pk_receivestordoc_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表体ts
	SCArriveInVO.BTS = {
		name: "bts",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号编码
	SCArriveInVO.VBATCHCODE = {
		name: "vbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	SCArriveInVO.PK_BATCHCODE = {
		name: "pk_batchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//已扫描主数量
	SCArriveInVO.NSCANEDNUM = {
		name: "nscanednum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//已扫描数量
	SCArriveInVO.NSCANEDASTNUM = {
		name: "nscanedastnum",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//行号
	SCArriveInVO.CROWNO = {
		name: "crowno",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//采购员**
	SCArriveInVO.PK_PUPSNDOC = {
		name: "pk_pupsndoc",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//**
	SCArriveInVO.PK_PUPSNDOC_NAME = {
		name: "pk_pupsndoc_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//计划到货日期
	SCArriveInVO.DPLANRECEIVEDATE = {
		name: "dplanreceivedate",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//供应商批次号
	SCArriveInVO.BC_VVENDBATCHCODE = {
		name: "bc_vvendbatchcode",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位
	SCArriveInVO.PK_RACK = {
		name: "pk_rack",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};
	SCArriveInVO.PK_RACK_NAME = {
		name: "pk_rack_name",
		type: NCMMPubUtil.VALUE_TYPE_TEXT
	};

	SCArriveInVO.prototype.getAllAttrs = function() {
		return [
			SCArriveInVO.PK_HEAD,
			SCArriveInVO.PK_ITEM,
			SCArriveInVO.MATERIALNAME,
			SCArriveInVO.NNUM,
			SCArriveInVO.NASTNUM,
			SCArriveInVO.VBILLCODE,
			SCArriveInVO.DBILLDATE,
			SCArriveInVO.HTS,
			SCArriveInVO.PK_SUPPLIER_NAME,
			SCArriveInVO.PK_ORG,
			SCArriveInVO.PK_RECEIVESTORDOC,
			SCArriveInVO.PK_RECEIVESTORDOC_NAME,
			SCArriveInVO.PK_MATERIAL,
			SCArriveInVO.MATERIALSPEC,
			SCArriveInVO.MATERIALTYPE,
			SCArriveInVO.MATERIALSHORTNAME,
			SCArriveInVO.MATERIALCODE,
			SCArriveInVO.PK_DEPT_NAME,
			SCArriveInVO.BTS,
			SCArriveInVO.CASTUNITID,
			SCArriveInVO.CASTUNITID_NAME,
			SCArriveInVO.CUNITID,
			SCArriveInVO.CUNITID_NAME,
			SCArriveInVO.VCHANGERATE,
			SCArriveInVO.VBATCHCODE,
			SCArriveInVO.PK_BATCHCODE,
			SCArriveInVO.NSCANEDNUM,
			SCArriveInVO.NSCANEDASTNUM,
			SCArriveInVO.CROWNO,
			SCArriveInVO.PK_PUPSNDOC,
			SCArriveInVO.PK_PUPSNDOC_NAME,
			SCArriveInVO.DPLANRECEIVEDATE,
			SCArriveInVO.BC_VVENDBATCHCODE,
			SCArriveInVO.PK_RACK,
			SCArriveInVO.PK_RACK_NAME			
		];
	};

	SCArriveInVO.prototype.getTableName = function() {
		return "sc_arrivein";
	};
	SCArriveInVO.prototype.getPrimaryAttr = function() {
		return SCArriveInVO.PK_ITEM;
	};
} catch(e) {
	$e(e);
}